.address-management {
  min-height: 100vh;
  background: #f8f9fa;
  padding-bottom: 20px;
}

.address-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 12px 16px; */
  /* background: white; */
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin-left: -32px;
}

.address-list {
  padding: 16px;
}

.address-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.address-main {
  padding: 16px;
}

.address-header-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.receiver-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.receiver-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.receiver-phone {
  font-size: 14px;
  color: #666;
}

.default-tag {
  background: #ff6b35;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  margin-left: 8px;
}

.address-actions {
  display: flex;
  gap: 4px;
}

.address-detail {
  display: flex;
  align-items: flex-start;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.address-footer {
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  text-align: right;
}

.add-address-btn-container {
  padding: 16px;
}

/* 模态框样式 */
.address-modal .ant-modal-content {
  border-radius: 12px;
}

.address-modal .ant-modal-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 16px 20px;
}

.address-modal .ant-modal-body {
  padding: 20px;
}

.address-modal .ant-form-item {
  margin-bottom: 16px;
}

.address-modal .ant-form-item-label > label {
  font-weight: 500;
  color: #333;
}

.address-modal .ant-input,
.address-modal .ant-input-password {
  border-radius: 6px;
  padding: 8px 12px;
}

.address-modal .ant-input:focus,
.address-modal .ant-input-password:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.address-modal .ant-btn-primary {
  background: #ff6b35;
  border-color: #ff6b35;
  border-radius: 6px;
}

.address-modal .ant-btn-primary:hover {
  background: #ff5722;
  border-color: #ff5722;
}

/* 移动端适配 */
@media (max-width: 375px) {
  .address-list {
    padding: 12px;
  }
  
  .address-item {
    margin-bottom: 8px;
  }
  
  .address-main {
    padding: 12px;
  }
  
  .receiver-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .address-modal {
    margin: 0;
    max-width: 100vw;
  }
  
  .address-modal .ant-modal-content {
    margin: 0 10px;
  }
}
